home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 3: CDPD 3 / Almathera Ten on Ten - Disc 3: CDPD3.iso / fish / 676-700 / 676 / fbm / fbm10man.zoo / MAN / fbmask.man < prev    next >
Text File  |  1990-12-18  |  2KB  |  67 lines

  1.  
  2.      FBMASK(1)                     25-Jun-90                      FBMASK(1)
  3.  
  4.  
  5.           3 
  6.  
  7.      ›1mNAME 
  8.           ›0mfbmask \- mask a rectangle in a grayscale file 
  9.  
  10.      ›1mSYNOPSIS 
  11.           ›0mfbmask [ -<type> ] x0 y0 x1 y1 value < 8bit > 8bit
  12.  
  13.      ›1mDESCRIPTION 
  14.  
  15.                ›0mPaints  the  specified  gray  value  ›3mval ›0min a rectangle
  16.           starting at ›3mx ›0mand ›3my ›0mwith the given ›3mwidth ›0mand ›3mheight.  
  17.  
  18.  
  19.           ›0m›1mEXAMPLE 
  20.           ›0mTo put a 50 pixel wide black border  around  a  640  by  480
  21.           pixel  grayscale image, you could use the following pipeline
  22.           (which outputs a Sun rasterfile): 
  23.  
  24.               % fbmask   0   0  50 480 0 < foo.8bit |
  25.                 fbmask   0   0 640  50 0 < foo.8bit |
  26.                 fbmask   0 430 640 480 0 < foo.8bit |
  27.                 fbmask 590   0 640 480 0 < foo.8bit > bar.8bit
  28.  
  29.  
  30.      ›1mSEE ALSO 
  31.           ›0mfbm(1) for general discussion, pbm(1) for PBM routines.  
  32.  
  33.      ›1mBUGS 
  34.           ›0mNone known.  
  35.  
  36.      ›1mHISTORY 
  37.           ›0mCopyright (C) 1989,1990 by Michael  Mauldin.  Permission  is
  38.           granted  to  use  this  file  in  whole  or  in part for any
  39.           purpose, educational, recreational or  commercial,  provided
  40.           that this  copyright  notice  is  retained  unchanged.  This
  41.           software is available to all free of charge by anonymous FTP
  42.           and in the UUNET archives.  
  43.  
  44.           25-Jun-90 Michael  Mauldin  at  Carnegie  Mellon  University
  45.           Release 1.0 mlmcs.cmu.edu 
  46.  
  47.           07-Mar-89  Michael  L. Mauldin at Carnegie Mellon University
  48.           Beta release (version 0.9) mlmcs.cmu.edu 
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.                                       -1-
  66.  
  67.